package com.seata.demo.seatauser.feign;

import com.seata.demo.seatauser.entity.Role;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
@FeignClient("seata-role")
public interface RoleFeign {

    @PostMapping("/role/add")
    public void add(@RequestBody Role role);
}
